#include <QQmlContext>
#include <QtQml>
#include "PoseNode.h"
#include "AnimMontage_p.h"

PoseNode::PoseNode()
{

}

PoseNode::~PoseNode()
{
}

QString PoseNode::getObjectId(QObject *target)
{
    auto ctx = qmlContext(target);

    if(ctx)
    {
        return ctx->nameForObject(target);
    }

    return {};
}
